<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%
  response.setHeader("Cache-Control","no-store");
  response.setHeader("Pragma","no-cache");
  response.setDateHeader("Expires",0);
%>
<html:html>
<HEAD>
<%@ page
language="java"
contentType="text/html; charset=GBK"
pageEncoding="GBK"
%>
<META http-equiv="Content-Type" content="text/html; charset=GBK">
<META name="GENERATOR" content="IBM WebSphere Studio">
<META http-equiv="Content-Style-Type" content="text/css">
<SCRIPT language="JavaScript" src="../../js/public.js"></SCRIPT>
<SCRIPT language="JavaScript">
<!--
function toEdit(){
	with(document.forms[0]){
        operAtt.value="edit";
		submit();
	}
	return true;
}

function toReturn(){
	with(document.forms[0]){
		operAtt.value="select";
		submit();
	}
	return true;
}
//-->
</SCRIPT>
</HEAD>

<BODY>
<html:form action="/system/taskItem/taskItem">
	<html:hidden property='operAtt' />
	<html:hidden property='conditionData.selectTaskId' />
	<html:hidden property='conditionData.selectTaskName' />
	<html:hidden property='data.id' />
	<TABLE class="border">
		<TBODY>
			<TR>
				<TD>
				<P class="sysTitle"><bean:message key="TaskItemManage.detail.title" /></P>
				<html:errors /><bean:write name="taskItemForm" property="message"
					filter="false" />
				<DIV class="tab-pane">
				<DIV class="tab-page">
				<DIV class="tab"><bean:message key="TaskItemData.detail" /></DIV>
				<TABLE border="1" width="100%">
					<TBODY>
						<TR>
							<TH nowrap align="left"><bean:message key="TaskItemData.name" /></TH>
							<TD><bean:write name="taskItemForm" property="data.name" /></TD>
						</TR>
						<TR>
							<TH nowrap align="left"><bean:message key="TaskItemData.url" /></TH>
							<TD><bean:write name="taskItemForm" property="data.url" /></TD>
						</TR>
						<TR>
							<TH nowrap align="left"><bean:message key="TaskItemData.needDo" /></TH>
							<TD>
							<logic:equal name="taskItemForm" property="data.needDo" value="0">
								<bean:message key="TaskItemData.needDo.opt0" />
							</logic:equal> 
							<logic:equal name="taskItemForm" property="data.needDo" value="1">
								<bean:message key="TaskItemData.needDo.opt1" />
							</logic:equal> 
							</TD>
						</TR>
						<TR>
							<TD colspan="2" align="center" nowrap class="Show">&nbsp;</TD>
						</TR>
						<TR>
							<TD colspan="2" align="center" nowrap><html:button
								property="Save" onclick="toEdit()" styleClass="button">
								<bean:message key="dataEdit.edit" />
							</html:button><html:button property="Return" onclick="toReturn()"
								styleClass="button">
								<bean:message key="dataEdit.return" />
							</html:button></TD>
						</TR>
					</TBODY>
				</TABLE>
				</DIV>
				</DIV>
				</TD>
			</TR>
		</TBODY>
	</TABLE>
</html:form>
</BODY>
</html:html>
